#tabmenu {
    color: #000;
    border-bottom: 2px solid black;
    margin: 12px 0px 0px 0px;
    padding: 0px;
    z-index: 1;
    padding-left: 10px 
}
            
#tabmenu li {
    display: inline;
    overflow: hidden;
    list-style-type: none; 
}

#tabmenu a, a.active {
    color: white;
    background: #00244B;
    font: bold 1em "Trebuchet MS", Arial, sans-serif;
    border: 2px solid black;
    padding: 2px 5px 0px 5px;
    margin: 0;
    text-decoration: none; 
}

#tabmenu a.active {
    color: #00244B;
    background: white;
    border-bottom: 3px solid white;
}

#tabmenu a:hover {
    color: black;
    background: #dcdcdc; 
}
            
#tabmenu a.active:hover {
    background: #00244B;
    color: white;
}
